<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <div id="root">

    </div>
</body>
<script src="../react@17.js"></script>
<script src="../react-dom@17.js"></script>
<script src="../babel.js"></script>
<script type="text/babel">
    console.log(React)
    class App extends React.Component{
        render(){
            return (
                <React.Fragment>
                <h1>231231231</h1>
                <h2>23123123</h2>
                <h3>23123123123</h3>
                <Child/>
                </React.Fragment>
            )
        }
    }

    class Child extends React.Component{
        render(){
            return (
                <>
                <h4>哈哈哈</h4>
                <h4>嘿嘿嘿</h4>
                </>
            )
        }
    }
    ReactDOM.render(<App/>,document.getElementById("root"))
</script>
</html>